/**
 *====================================================
 * 文件名称: BulkstockLatestgatherEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年10月21日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.bulkstock.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.bulkstock.entity.lexicon.MeasurementEnum;

/**
 * @ClassName: BulkstockLatestgatherEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年10月21日 下午3:51:01
 */
@Entity
@Table(name = "FIN_BULKSTOCK_LATEST_GATHER")
public class BulkstockLatestGatherEntity {

	/** 商品浮动ID */
	@Id
	@GeneratedValue
	@Column(name = "LATEST_GATHER_ID")
	private Long latestgatherId;

	/** 大宗类别ID */
	@Column(name = "CATEGORY_ID")
	private Long categoryId;

	/** 商品类别 */
	@Column(name = "CATEGORY_NAME")
	private String categoryName;

	/** 大宗商品ID */
	@Column(name = "BULKSTOCK_INFO_ID")
	private Long bulkstockInfoId;

	/** 商品名称 */
	@Column(name = "BULKSTOCK_NAME")
	private String bulkstockName;

	/** 规格型号 */
	@Column(name = "SPECIFICATION")
	private String specification;

	/** 计量类型 0:未知/1:体积/2:重量 */
	@Column(name = "MEASUREMENT")
	private MeasurementEnum measurement;

	/** 价格 */
	@Column(name = "PRICE")
	private BigDecimal price;

	/** 价格日期 */
	@Column(name = "PRICE_D8")
	private Integer priceDate;

	/** 涨跌 */
	@Column(name = "RISE_FALL")
	private BigDecimal riseFall;

	/** 幅度 */
	@Column(name = "INCREASE")
	private BigDecimal increase;

	/** 周收盘价 */
	@Column(name = "CLOSING_PRICE")
	private BigDecimal closingPrice;

	/** 7日均价 */
	@Column(name = "WEEK_AVG_PRICE")
	private BigDecimal weekAvgPrice;

	/** 发布日期 */
	@Column(name = "ISSUE_DT")
	private Date issueDateTime;

	public Long getLatestgatherId() {
		return latestgatherId;
	}

	public void setLatestgatherId(Long latestgatherId) {
		this.latestgatherId = latestgatherId;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public Long getBulkstockInfoId() {
		return bulkstockInfoId;
	}

	public void setBulkstockInfoId(Long bulkstockInfoId) {
		this.bulkstockInfoId = bulkstockInfoId;
	}

	public String getBulkstockName() {
		return bulkstockName;
	}

	public void setBulkstockName(String bulkstockName) {
		this.bulkstockName = bulkstockName;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Integer getPriceDate() {
		return priceDate;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public MeasurementEnum getMeasurement() {
		return measurement;
	}

	public void setMeasurement(MeasurementEnum measurement) {
		this.measurement = measurement;
	}

	public void setPriceDate(Integer priceDate) {
		this.priceDate = priceDate;
	}

	public BigDecimal getRiseFall() {
		return riseFall;
	}

	public void setRiseFall(BigDecimal riseFall) {
		this.riseFall = riseFall;
	}

	public BigDecimal getIncrease() {
		return increase;
	}

	public void setIncrease(BigDecimal increase) {
		this.increase = increase;
	}

	public BigDecimal getClosingPrice() {
		return closingPrice;
	}

	public void setClosingPrice(BigDecimal closingPrice) {
		this.closingPrice = closingPrice;
	}

	public BigDecimal getWeekAvgPrice() {
		return weekAvgPrice;
	}

	public void setWeekAvgPrice(BigDecimal weekAvgPrice) {
		this.weekAvgPrice = weekAvgPrice;
	}

	public Date getIssueDateTime() {
		return issueDateTime;
	}

	public void setIssueDateTime(Date issueDateTime) {
		this.issueDateTime = issueDateTime;
	}

}
